package com.work.service;

import com.work.bean.Work;

import java.util.HashMap;
import java.util.List;

/**
 * Created by Administrator on 2017/10/7.
 */
public interface WorkService {

    public abstract boolean insertWork(Work work);

    public abstract List findByTeacherId(int teacherId);

    public abstract HashMap<Integer, List> pageByTeacherId(int countPage, int whichPage, int teacherId);

    public abstract boolean deleteById(String deleteId);
    public abstract boolean updateDistribute(int distribute,int workID);

    public abstract boolean updateFinishProcess(String process,int workID);
}
